package org.inspiration.dudu.message.service;

import org.inspiration.dudu.message.model.entity.SessionEntity;
import org.inspiration.dudu.message.model.vo.SessionVO;

import java.util.List;

public interface SessionService {
    SessionVO transToVO(SessionEntity sessionEntity);

    SessionEntity getSession(Long senderId, Long receiverId);

    void increaseUnreadCount(Long sessionId);

    List<SessionVO> getSessions(Long fromUserId, Integer pageNum, Integer pageSize);
}
